package com.minshenglife.zanzan.service.impl;

import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import com.minshenglife.zanzan.dao.MailBoxDao;
import com.minshenglife.zanzan.entity.MailBox;
import com.minshenglife.zanzan.service.MailBoxService;


/**
 * 信箱service
 * @author huodd
 *
 */
@Component
@Transactional
public class MailBoxServiceImpl  implements MailBoxService {
	@Resource
	private MailBoxDao mailBoxDao;
	/**
	 * 插入
	 */
	@Override
	public void insertUserAdv(MailBox mailBox) {
		mailBoxDao.add(mailBox);
	}

}
